import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/classes_config_entity.g.dart';
export 'package:enterprise_v6_app/generated/json/classes_config_entity.g.dart';

/// 班次实体
@JsonSerializable()
class ClassesConfigEntity {

	ClassesConfigEntity();

	factory ClassesConfigEntity.fromJson(Map<String, dynamic> json) => $ClassesConfigEntityFromJson(json);
	late String classesBeginDate = '';
	late String classesColor = '';
	late String classesEndDate = '';
	late String classesName = '';
	late String classesType = '';
	late String companyCode = '';
	late String createBy = '';
	late String createById = '';
	late String createDate = '';
	late String deleted = '';
	late String id = '';
	late int totalTime = 0;
	late String updateBy = '';
	late String updateById = '';
	late String updateDate = '';

	Map<String, dynamic> toJson() => $ClassesConfigEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
